﻿//*** Guidance generated code ***//
using System;
using System.Collections.Generic;
using System.Diagnostics.Contracts;
using System.Linq;

using DocumentFormat.OpenXml.Wordprocessing;

using ProjectBase.Core;

namespace ProjectBase.Tools.Export.Word
{
    public interface IDocPartHandler : IService
    {
        void SetSuccessor(IDocPartHandler successor);
        HandlerResult Handle(DocPart currentPart, IPersistentObject entity, params string[] prefixes);

        /// <summary>The default handlers starts with 100. Project dependent can get higher priority by providing lower number</summary>
        int Priority { get; }
    }
}